/**
 * Copyright (C) 2002-2006 WUZEWEN. All rights reserved.
 * WUZEWEN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package wzw.sql;

import java.sql.SQLException;
import java.util.HashMap;

/**
 * <p>a interface for all database Operator class,including Component or not.</p>
 * @author	WUZEWEN on 2006-05-17
 * @version	1.0
 * @see		Object#equals(java.lang.Object)
 * @see		Object#hashCode()
 * @see		HashMap
 * @since	JDK5
 */

public interface DatabaseOperator {
	/** obtain data to from database */
	public boolean fetchData() throws SQLException;
	
	/** sava current data to database 
	 * @throws SQLException */
	public boolean saveData() throws SQLException;
	

}
